package cn.wolfcode.service;

import cn.wolfcode.domain.Role;
import cn.wolfcode.qo.PageResult;
import cn.wolfcode.qo.QueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IRoleService {
    void deleteByPrimaryKey(Long id);

    void insert(Role record, Long[] ids);

    Role selectByPrimaryKey(Long id);

    List<Role> selectAll();

    void updateByPrimaryKey(Role record, Long[] ids);

    //分页查询  返回 数据 封装在 pageResult对象 中
    PageInfo query(QueryObject qo);

    List<String> selectSnByEmpId(Long id);


}
